package com.iflytek.httpoperation;

import android.app.Application;

import com.iflytek.http.impl.HttpOperationUtil;
import com.iflytek.util.DebugLog;

public class SpApp extends Application{

	private HttpOperationUtil mHttpOpUtil;
	
	@Override
	public void onCreate() {
		super.onCreate();
		DebugLog.setDebugLogging(true);
		mHttpOpUtil = new HttpOperationUtil(this);
		mHttpOpUtil.setOperationService(MyService.class);
	}
	
	/**
	 * 获取Http,POST/GET
	 * @return
	 */
	public HttpOperationUtil getHttpOp(){
		return mHttpOpUtil;
	}
}
